package com.example.consumer.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Create by jian.pan on 2018/6/19
 */
@FeignClient(name = "user-service")
@RequestMapping("user")
public interface UserFeignClient {

  @GetMapping("")
  public String getUser();
}
